Skip to content

Conversation

@ysyeda
Copy link
Contributor

@ysyeda ysyeda commented Sep 5, 2023

This PR adds support for the PPA2 fields.

@ysyeda ysyeda requested a review from a team as a code owner September 5, 2023 19:50
@ysyeda ysyeda requested a review from a team September 5, 2023 19:50
@github-actions github-actions bot added clang:driver 'clang' and 'clang++' user-facing binaries. Not 'clang-cl' clang:frontend Language frontend issues, e.g. anything involving "Sema" clang:codegen IR generation bugs: mangling, exceptions, etc. llvm:mc Machine (object) code labels Sep 5, 2023
Copy link
Member

@uweigand uweigand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ysyeda ysyeda force-pushed the ppa2-zos branch 2 times, most recently from f7968e4 to 392fe73 Compare September 6, 2023 18:56
@uweigand
Copy link
Member

uweigand commented Sep 7, 2023

SystemZ back-end changes LGTM. Additional reviews as to the Clang and time support changes would be appreciated.

@ysyeda ysyeda requested review from MaskRay and labath September 7, 2023 17:24
@ysyeda
Copy link
Contributor Author

ysyeda commented Sep 11, 2023

@labath can you please review the changes in chrono.h/.cpp?
@MaskRay can you please review the changes in clang?

@ysyeda
Copy link
Contributor Author

ysyeda commented Sep 19, 2023

ping

// .byte (i.e., the one for the 3) would, it seems, also match
// the .byte line below for the 34.

// RUN: %clang --target=s390x-ibm-zos -xc -S -o - %s | FileCheck %s --check-prefix CHECK-C
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use %clang_cc1 in non-driver tests


// utc_clock and utc_time are only available since C++20. Add enough code to
// support formatting date/time in UTC.
class UtcClock : public std::chrono::system_clock {};
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This Support change needs to be split from this patch with a unittest in llvm/unittest/Support.

Many people will think this z/OS patch is unrelated to them.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I created a new PR for the UTC clock changes here: #67846

HLSL,
///@}
};
const char *LanguageToString(Language L);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

languageToString? This file correctly uses functionName unlike many other Clang files...

@ysyeda
Copy link
Contributor Author

ysyeda commented Sep 29, 2023

Breaking this PR into 2 for chrono.h/.cpp changes and for zOS specific changes.
The PR for UTC clock support is here: #65407

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clang:codegen IR generation bugs: mangling, exceptions, etc. clang:driver 'clang' and 'clang++' user-facing binaries. Not 'clang-cl' clang:frontend Language frontend issues, e.g. anything involving "Sema" llvm:mc Machine (object) code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants